﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BasePlatformCom
{
	public class ComCommand
	{
		public bool overAll = false;

		public string hostMainCtrlId = "";

		public string target = "";

		public string operType = "";

		public Dictionary<string, object> paramDict = null;
	}

	public static class CommandTarget
	{
		public static string MainCtrl = "0";

		public static string SubCtrl = "1";

		public static string Equipment = "2";
	}

	public static class CommandOperTpye
	{
		// 设置整屏亮度 - Coolux 接口
		public static string CooluxSetBright = "CooluxSetBright";

		// 设置对比度 - Coolux 接口
		public static string CooluxSetContrast = "CooluxSetContrast";

		// 设置Lux-亮度、Gamma-亮度、其他参数（PWM_Level, Start_Gray, Low_Gray_Value, Sample_Time, Env_Light_En, Color_Restore_En）
		public static string SetLuxGamma = "SetLuxGamma";

		// 设置亮度/对比度
		public static string SetBrightContrast = "SetBrightContrast";

		// 设置 MCU 显示参数
		public static string SetMcuDispParameter = "SetMcuDispParameter";
	}
}
